package com.yf.tz.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.yf.tz.dao.MallItemDao;
import com.yf.tz.entity.MallItemEntity;
import com.yf.tz.service.MallItemService;
import com.yf.service.impl.BaseServiceImpl;

/**
 * 订单明细Service实现类
 *
 * @author hxf
 * @email 505860922@qq.com
 * @date Wed Jul 01 16:32:18 CST 2020
 */
@Service
public class MallItemServiceImpl extends BaseServiceImpl<MallItemEntity> implements MallItemService {

    private MallItemDao mallItemDao;


    @Autowired
    public void setDao(MallItemDao mallItemDao) {
        this.mallItemDao = mallItemDao;
        super.setBaseDao(mallItemDao);
    }




    /**
     *
     *
     @Override
     List<MallItemVo> queryListVo(MallItemVo mallItemVo){
            return mallItemDao.queryListVo(mallItemVo);
     }

     @Override
     MallItemVo getVo(Long id){
                return mallItemDao.getVo(id);
    }

     **/


    /**内部方法**/



    /**外部方法实现**/

    @Override
    public List<MallItemEntity> findByOrderId(Long id) {
        return mallItemDao.findByOrderId(id);
    }



}
